package com.wanho.java157.CustomerManagement.service.impl;

import com.wanho.java157.CustomerManagement.mapper.CustomerMapper;
import com.wanho.java157.CustomerManagement.po.Customer;
import com.wanho.java157.CustomerManagement.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {
    @Autowired
    private CustomerMapper customerMapper;
    @Override
    public List<Customer> selectAll() {
        return customerMapper.selectAll();
    }
}
